﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.Windows.Forms;

namespace TCM.Models
{
    public class Case
    {
        [Required]
        public Guid CaseId { get; set; }
        
        public string Name { get; set; }
        
        public string Content { get; set; }
        [ForeignKey("Category")]
        public Guid? CategoryId { get; set; }

        public Category Category { get; set; }
    }
}
